package components.items;

import java.awt.Color;

import com.uqbar.vainilla.appearances.Circle;
import components.CircularShape;
import components.Shape;
import components.scenes.MainGameScene;

public class SuperFood extends Food {

	public SuperFood(int x, int y) {
		super(x, y);
		this.setHeight(10);	
		this.setDiameter(10);
		this.setAppearance(new Circle(Color.YELLOW, 10));
	}

	@Override
	protected void pickedUp() {
		this.getScene().superfoodPickedup(this);
	}

	@Override
	public void addToScene(MainGameScene mainGameScene, int x, int y) {
		mainGameScene.addFood(this, x, y);
	}

	@Override
	public Shape defineShape() {
		return new CircularShape(this);
	}

}
